<html>
<head>
<title>CUSTOMERCONTRACT MODULE</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link href="../../build/common/base.css" rel="stylesheet">
	<script type="text/javascript" src="../../build/common/base.js"></script>
	<script type="text/javascript" src="../../build/common/gridList.js"></script>
</head>
<body class="panel-body">
	<div class="panel panel-default search-panel">
         <div class="panel-heading">查询条件
         	<a　href="javascript:void(0)" class="pull-right">　<i class="fa  fa-angle-double-up" toggle-collapse="#searchForm"></i> </a>
         </div>
         <div class="panel-body">
             <form id="searchForm" class="form-horizontal">
                 <div class="form-group">
                     <label class="control-label col-sm-1" for="subject_^VLK">主题</label>
                     <div class="col-sm-2">
                         <input type="text" class="form-control" id="subject_^VLK">
                     </div>
                     <div class="col-sm-3" style="text-align:left;">
                         <button type="button" style="margin-left:50px" ab-btn-rights="customerContractList:search" class="btn btn-primary fa-search">查询</button>
                         <button type="button" style="margin-left: 50px" ab-btn-rights="customerContractList:search" class="btn btn-primary fa-rotate-left">重置</button>
                     </div>
                 </div>
             </form>
         </div>
     </div>
	 <div class="btn-group toolbar">
		  <!-- <button class="btn btn-outline btn-primary fa-plus" openDialog="新增合同" url="customerContractEdit.html">新增 </button> -->
		  <button class="btn btn-outline btn-primary fa-plus" ab-btn-rights="customerContractList:add" openDialog="新增合同" url="/bpm/definition/start.html?defId=405994905847201793">新增 </button>
     </div>
     <table ab-grid data-id-field="id" data-url="/crm/customerContract/myListJson">
         <thead>
         <tr>
             <th data-checkbox="true">ID</th>
             <th data-field="orderNum">合同编号</th>
             <th data-field="subject">主题</th>
              <th data-field="customerName">成交客户</th>
             <th data-field="contractTime">签约时间</th>
             <th data-field="startTime">开始时间</th>
             <th data-field="endTime">结束时间</th>
             <th data-field="isTax"  data-formatter="labelFormatter" 
             		data-value-style="1-是-primary,0-否-success,">是否含税</th>
             <th data-field="isInvoice"  data-formatter="labelFormatter" 
             		data-value-style="1-是-primary,0-否-success,">提供发票</th>
            
             <th data-field="money">总金额</th>
             <!-- <th data-field="possesser">所有者id</th> -->
             <th data-field="createByName">录入人</th>
             
             <th data-field="id" data-formatter="innerHtmlFormatter" data-title="管理">
             	<span class='btn btn-outline btn-primary fa-detail' openDialog='详情' qtip='详情' url='customerContractDetail.html?id={id}'></span>
             	<a class='btn btn-outline btn-primary fa fa-edit' ab-btn-rights="customerContractList:edit" openDialog='编辑' qtip='编辑' url='customerContractEdit.html?id={id}'></a>
				<a class='btn btn-outline btn-primary fa  fa-trash' ab-btn-rights="customerContractList:del" sendAction='删除' qtip='此处删除可能影响流程数据，请注意' url='/crm/customerContract/remove?id={id}'></a>
             </th>
         </tr>
         </thead>
     </table>
</body>
</html>